package com.acme.homemonitoring;

public class TestLight implements Light
{
	private String name;
	
	public TestLight(String name)
	{
		this.name = name;
	}
	
	/* (non-Javadoc)
	 * @see com.acme.homemonitoring.Light#turnOn()
	 */
	@Override
	public void turnOn()
	{
		System.out.println("!! turning on light " + name);
	}
	
	/* (non-Javadoc)
	 * @see com.acme.homemonitoring.Light#turnOff()
	 */
	@Override
	public void turnOff()
	{
		System.out.println("!! turning off light " + name);
	}

	/* (non-Javadoc)
	 * @see com.acme.homemonitoring.Light#report()
	 */
	@Override
	public void report()
	{
		System.out.println("Test Light");
	}
}
